package top.mcwebsite.playandroid.business.qa.vm

import top.mcwebsite.playandroid.business.articles.api.model.ArticleModel
import top.mcwebsite.playandroid.lib.mvi.base.IIntent
import top.mcwebsite.playandroid.lib.mvi.base.IUiEffect
import top.mcwebsite.playandroid.lib.mvi.base.IUiState

data class QAUiState(
    val message: String = ""
) : IUiState

sealed interface QAIntent : IIntent {
    data class OnClickQAItem(val qaItem: ArticleModel): QAIntent
}

sealed interface QAUiEffect : IUiEffect {
    data class GoQADetailPageUiEffect(val qaItem: ArticleModel): QAUiEffect
}